package com.cxz.study.ddd_project.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @className: Application2081
 * @author: ocxz1
 * @date: 2024/12/29 下午10:09
 * @Version: 1.0
 * @description: ddd_project1
 */
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {
        "com.cxz.study.ddd_project",
        "com.cxz.study.ddd_project_parent_web.web"
})
@MapperScan(basePackages = {"com.cxz.study.ddd_project.infrastructure.repository.db.mapper"})
public class Application2081 {
    public static void main(String[] args) {
        SpringApplication.run(Application2081.class, args);
    }
}
